package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.ZhuanjiaQushiqueren;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 专家去世确认Mapper接口
 * 
 * @author ruoyi
 * @date 2023-03-30
 */
@Mapper
public interface ZhuanjiaQushiquerenMapper 
{
    /**
     * 查询专家去世确认
     * 
     * @param id 专家去世确认主键
     * @return 专家去世确认
     */
    public ZhuanjiaQushiqueren selectZhuanjiaQushiquerenById(String id);

    /**
     * 查询专家去世确认列表
     * 
     * @param zhuanjiaQushiqueren 专家去世确认
     * @return 专家去世确认集合
     */
    public List<ZhuanjiaQushiqueren> selectZhuanjiaQushiquerenList(ZhuanjiaQushiqueren zhuanjiaQushiqueren);

    /**
     * 新增专家去世确认
     * 
     * @param zhuanjiaQushiqueren 专家去世确认
     * @return 结果
     */
    public int insertZhuanjiaQushiqueren(ZhuanjiaQushiqueren zhuanjiaQushiqueren);

    /**
     * 修改专家去世确认
     * 
     * @param zhuanjiaQushiqueren 专家去世确认
     * @return 结果
     */
    public int updateZhuanjiaQushiqueren(ZhuanjiaQushiqueren zhuanjiaQushiqueren);

    /**
     * 删除专家去世确认
     * 
     * @param id 专家去世确认主键
     * @return 结果
     */
    public int deleteZhuanjiaQushiquerenById(String id);

    /**
     * 批量删除专家去世确认
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZhuanjiaQushiquerenByIds(String[] ids);

    public List<Map<String,Object>> findCustomList(@Param("deptid")String ppDeptId,@Param("xingming")String ppXingming,@Param("suoshudanwei")String ppSuoshudanwei,@Param("shenfenzhenghao")String ppShenfenzhenghao,@Param("siwangbiaoji")int ppSiwangbiaoji,@Param("shifouchuli")int ppShifouchuli,@Param("startindex")int mmStartIndex,@Param("pagesize")int ppPageSize);

    public int countCustomList(@Param("deptid")String ppDeptId,@Param("xingming")String ppXingming,@Param("suoshudanwei")String ppSuoshudanwei,@Param("shenfenzhenghao")String ppShenfenzhenghao,@Param("siwangbiaoji")int ppSiwangbiaoji,@Param("shifouchuli")int ppShifouchuli);

    List<Map<String, Object>> xiajidanweiqushilist(@Param("deptid")String ppDeptId,@Param("xingming")String ppXingming,@Param("suoshudanwei")String ppSuoshudanwei,@Param("shenfenzhenghao")String ppShenfenzhenghao,@Param("siwangbiaoji")String ppSiwangbiaoji,@Param("shifouchuli")int ppShifouchuli,@Param("startindex")int mmStartIndex,@Param("pagesize")int ppPageSize);

    int countxiajidanweiqushilist(@Param("deptid")String ppDeptId,@Param("xingming")String ppXingming,@Param("suoshudanwei")String ppSuoshudanwei,@Param("shenfenzhenghao")String ppShenfenzhenghao,@Param("siwangbiaoji")String ppSiwangbiaoji,@Param("shifouchuli")int ppShifouchuli);

    Map<String,Integer> CountDeptandZhuanjia();

    List<Map<String, Object>> qushiListBypiciid(@Param("piciid") String piciid,@Param("danweimingcheng") String danweimingcheng,
                                                @Param("danweicengji")  String danweicengji,@Param("zhuanjiaxingming") String zhuanjiaxingming,
                                                @Param("gongzuodanwei") String gongzuodanwei,@Param("shifoubiandong")  String shifoubiandong,@Param("shifouchuli")  String shifouchuli,
                                                @Param("chuliriqi") String chuliriqi, @Param("mmStartIndex") int mmStartIndex,@Param("pagesize")  int pagesize);

    int countqushiListBypiciid(@Param("piciid") String piciid,@Param("danweimingcheng") String danweimingcheng,
                                @Param("danweicengji")  String danweicengji,@Param("zhuanjiaxingming") String zhuanjiaxingming,
                                @Param("gongzuodanwei") String gongzuodanwei,@Param("shifoubiandong")  String shifoubiandong,@Param("shifouchuli")  String shifouchuli,
                                @Param("chuliriqi") String chuliriqi);

    List<Map<String, Object>> qushiList(@Param("jigoudaima") String jigoudaima,@Param("danweimingcheng") String danweimingcheng,
                                                @Param("danweicengji")  String danweicengji,@Param("zhuanjiaxingming") String zhuanjiaxingming,
                                                @Param("gongzuodanwei") String gongzuodanwei,@Param("shifoubiandong")  String shifoubiandong,@Param("shifouchuli")  String shifouchuli,
                                                @Param("chuliriqi") String chuliriqi, @Param("mmStartIndex") int mmStartIndex,@Param("pagesize")  int pagesize);

    int countqushiList(@Param("jigoudaima") String jigoudaima,@Param("danweimingcheng") String danweimingcheng,
                               @Param("danweicengji")  String danweicengji,@Param("zhuanjiaxingming") String zhuanjiaxingming,
                               @Param("gongzuodanwei") String gongzuodanwei,@Param("shifoubiandong")  String shifoubiandong,@Param("shifouchuli")  String shifouchuli,
                               @Param("chuliriqi") String chuliriqi);
}
